package com.itheima.myreflect2.Student.sreatmdemo;

import java.util.ArrayList;
import java.util.List;


/**
 * @program: Myset
 * @description:
 * @author: xuejingjing
 * @create: 2021-06-12 20:29
 **/
public class Mystream1 {
    public static void main(String[] args) {

        //集合的批量添加
        //ArrayList<String> list1 = new ArrayList<String>(List.of("张三丰","张无忌","周芷若","乔峰","李明远"));

        //遍历list1，把以张开头的元素添加到list2中。
//
    }
}
